home *** CD-ROM | disk | FTP | other *** search
/ Programming Windows (5th Edition) / Programming Windows, 5th ed. - Companion CD (097-0002183)(1999).iso / Chap17 / FontClip / FontClip.mak < prev   
Encoding:
Text File  |  1998-10-09  |  5.1 KB  |  200 lines

  1. # Microsoft Developer Studio Generated NMAKE File, Based on FontClip.dsp
  2. !IF "$(CFG)" == ""
  3. CFG=FontClip - Win32 Debug
  4. !MESSAGE No configuration specified. Defaulting to FontClip - Win32 Debug.
  5. !ENDIF 
  6.  
  7. !IF "$(CFG)" != "FontClip - Win32 Release" && "$(CFG)" != "FontClip - Win32 Debug"
  8. !MESSAGE Invalid configuration "$(CFG)" specified.
  9. !MESSAGE You can specify a configuration when running NMAKE
  10. !MESSAGE by defining the macro CFG on the command line. For example:
  11. !MESSAGE 
  12. !MESSAGE NMAKE /f "FontClip.mak" CFG="FontClip - Win32 Debug"
  13. !MESSAGE 
  14. !MESSAGE Possible choices for configuration are:
  15. !MESSAGE 
  16. !MESSAGE "FontClip - Win32 Release" (based on "Win32 (x86) Application")
  17. !MESSAGE "FontClip - Win32 Debug" (based on "Win32 (x86) Application")
  18. !MESSAGE 
  19. !ERROR An invalid configuration is specified.
  20. !ENDIF 
  21.  
  22. !IF "$(OS)" == "Windows_NT"
  23. NULL=
  24. !ELSE 
  25. NULL=nul
  26. !ENDIF 
  27.  
  28. CPP=cl.exe
  29. MTL=midl.exe
  30. RSC=rc.exe
  31.  
  32. !IF  "$(CFG)" == "FontClip - Win32 Release"
  33.  
  34. OUTDIR=.\Release
  35. INTDIR=.\Release
  36. # Begin Custom Macros
  37. OutDir=.\Release
  38. # End Custom Macros
  39.  
  40. ALL : "$(OUTDIR)\FontClip.exe"
  41.  
  42.  
  43. CLEAN :
  44.     -@erase "$(INTDIR)\EzFont.obj"
  45.     -@erase "$(INTDIR)\FontClip.obj"
  46.     -@erase "$(INTDIR)\FontDemo.obj"
  47.     -@erase "$(INTDIR)\FontDemo.res"
  48.     -@erase "$(INTDIR)\vc60.idb"
  49.     -@erase "$(OUTDIR)\FontClip.exe"
  50.  
  51. "$(OUTDIR)" :
  52.     if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  53.  
  54. CPP_PROJ=/nologo /ML /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /Fp"$(INTDIR)\FontClip.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c 
  55. MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 
  56. RSC_PROJ=/l 0x409 /fo"$(INTDIR)\FontDemo.res" /d "NDEBUG" 
  57. BSC32=bscmake.exe
  58. BSC32_FLAGS=/nologo /o"$(OUTDIR)\FontClip.bsc" 
  59. BSC32_SBRS= \
  60.     
  61. LINK32=link.exe
  62. LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /incremental:no /pdb:"$(OUTDIR)\FontClip.pdb" /machine:I386 /out:"$(OUTDIR)\FontClip.exe" 
  63. LINK32_OBJS= \
  64.     "$(INTDIR)\EzFont.obj" \
  65.     "$(INTDIR)\FontClip.obj" \
  66.     "$(INTDIR)\FontDemo.obj" \
  67.     "$(INTDIR)\FontDemo.res"
  68.  
  69. "$(OUTDIR)\FontClip.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
  70.     $(LINK32) @<<
  71.   $(LINK32_FLAGS) $(LINK32_OBJS)
  72. <<
  73.  
  74. !ELSEIF  "$(CFG)" == "FontClip - Win32 Debug"
  75.  
  76. OUTDIR=.\Debug
  77. INTDIR=.\Debug
  78. # Begin Custom Macros
  79. OutDir=.\Debug
  80. # End Custom Macros
  81.  
  82. ALL : "$(OUTDIR)\FontClip.exe"
  83.  
  84.  
  85. CLEAN :
  86.     -@erase "$(INTDIR)\EzFont.obj"
  87.     -@erase "$(INTDIR)\FontClip.obj"
  88.     -@erase "$(INTDIR)\FontDemo.obj"
  89.     -@erase "$(INTDIR)\FontDemo.res"
  90.     -@erase "$(INTDIR)\vc60.idb"
  91.     -@erase "$(INTDIR)\vc60.pdb"
  92.     -@erase "$(OUTDIR)\FontClip.exe"
  93.     -@erase "$(OUTDIR)\FontClip.ilk"
  94.     -@erase "$(OUTDIR)\FontClip.pdb"
  95.  
  96. "$(OUTDIR)" :
  97.     if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  98.  
  99. CPP_PROJ=/nologo /MLd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "UNICODE" /Fp"$(INTDIR)\FontClip.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c 
  100. MTL_PROJ=/nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 
  101. RSC_PROJ=/l 0x409 /fo"$(INTDIR)\FontDemo.res" /d "_DEBUG" 
  102. BSC32=bscmake.exe
  103. BSC32_FLAGS=/nologo /o"$(OUTDIR)\FontClip.bsc" 
  104. BSC32_SBRS= \
  105.     
  106. LINK32=link.exe
  107. LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /incremental:yes /pdb:"$(OUTDIR)\FontClip.pdb" /debug /machine:I386 /out:"$(OUTDIR)\FontClip.exe" /pdbtype:sept 
  108. LINK32_OBJS= \
  109.     "$(INTDIR)\EzFont.obj" \
  110.     "$(INTDIR)\FontClip.obj" \
  111.     "$(INTDIR)\FontDemo.obj" \
  112.     "$(INTDIR)\FontDemo.res"
  113.  
  114. "$(OUTDIR)\FontClip.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
  115.     $(LINK32) @<<
  116.   $(LINK32_FLAGS) $(LINK32_OBJS)
  117. <<
  118.  
  119. !ENDIF 
  120.  
  121. .c{$(INTDIR)}.obj::
  122.    $(CPP) @<<
  123.    $(CPP_PROJ) $< 
  124. <<
  125.  
  126. .cpp{$(INTDIR)}.obj::
  127.    $(CPP) @<<
  128.    $(CPP_PROJ) $< 
  129. <<
  130.  
  131. .cxx{$(INTDIR)}.obj::
  132.    $(CPP) @<<
  133.    $(CPP_PROJ) $< 
  134. <<
  135.  
  136. .c{$(INTDIR)}.sbr::
  137.    $(CPP) @<<
  138.    $(CPP_PROJ) $< 
  139. <<
  140.  
  141. .cpp{$(INTDIR)}.sbr::
  142.    $(CPP) @<<
  143.    $(CPP_PROJ) $< 
  144. <<
  145.  
  146. .cxx{$(INTDIR)}.sbr::
  147.    $(CPP) @<<
  148.    $(CPP_PROJ) $< 
  149. <<
  150.  
  151.  
  152. !IF "$(NO_EXTERNAL_DEPS)" != "1"
  153. !IF EXISTS("FontClip.dep")
  154. !INCLUDE "FontClip.dep"
  155. !ELSE 
  156. !MESSAGE Warning: cannot find "FontClip.dep"
  157. !ENDIF 
  158. !ENDIF 
  159.  
  160.  
  161. !IF "$(CFG)" == "FontClip - Win32 Release" || "$(CFG)" == "FontClip - Win32 Debug"
  162. SOURCE=..\EzTest\EzFont.c
  163.  
  164. "$(INTDIR)\EzFont.obj" : $(SOURCE) "$(INTDIR)"
  165.     $(CPP) $(CPP_PROJ) $(SOURCE)
  166.  
  167.  
  168. SOURCE=.\FontClip.c
  169.  
  170. "$(INTDIR)\FontClip.obj" : $(SOURCE) "$(INTDIR)"
  171.  
  172.  
  173. SOURCE=..\EZTest\FontDemo.c
  174.  
  175. "$(INTDIR)\FontDemo.obj" : $(SOURCE) "$(INTDIR)"
  176.     $(CPP) $(CPP_PROJ) $(SOURCE)
  177.  
  178.  
  179. SOURCE=..\EZTest\FontDemo.rc
  180.  
  181. !IF  "$(CFG)" == "FontClip - Win32 Release"
  182.  
  183.  
  184. "$(INTDIR)\FontDemo.res" : $(SOURCE) "$(INTDIR)"
  185.     $(RSC) /l 0x409 /fo"$(INTDIR)\FontDemo.res" /i "\ProgWin\Chap17\EZTest" /d "NDEBUG" $(SOURCE)
  186.  
  187.  
  188. !ELSEIF  "$(CFG)" == "FontClip - Win32 Debug"
  189.  
  190.  
  191. "$(INTDIR)\FontDemo.res" : $(SOURCE) "$(INTDIR)"
  192.     $(RSC) /l 0x409 /fo"$(INTDIR)\FontDemo.res" /i "\ProgWin\Chap17\EZTest" /d "_DEBUG" $(SOURCE)
  193.  
  194.  
  195. !ENDIF 
  196.  
  197.  
  198. !ENDIF 
  199.  
  200.